import request from '@/utils/request'

//获取所属区县信息
export function getDistrictInformation(data) {
    return request({
        url: '/renovation/user/currentUserDist',
        method: 'post',
        formData:data
    })
}

//根据parentID获取乡镇信息
export function getCountrysideInformation(data) {
    return request({
        url: '/renovation/region/getRegion',
        method: 'post',
        formData:data
    })
}

//获取项目类型
export function getProjectType(data) {
    return request({
        url: '/renovation/project/getTypeList',
        method: 'post',
        formData:data
    })
}

//项目新建
export function getNewProjectAdd(data) {
    return request({
        url: '/renovation/project/add',
        method: 'post',
        formData:data
    })
}